package com.shiguiwu.springboot3.feign;

import com.shiguiwu.springboot3.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @description: feign带path的url
 * @author: stone
 * @date: Created by 2023/7/30 21:38
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.feign
 */
@FeignClient(value = "systemUrlPathClient", url = "http://127.0.0.1:8095", path = "user")
public interface UserFeignUrlPathClient {
    @GetMapping("/test2")
    public R<Integer> test();
}
